home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3697 < prev    next >
Encoding:
Text File  |  1996-08-05  |  5.1 KB  |  115 lines

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: alt.sys.amiga.demos,comp.sys.amiga.programmer
  4. Subject: Re: OS friendly Demos..
  5. Followup-To: alt.sys.amiga.demos,comp.sys.amiga.programmer
  6. Date: 23 Feb 1996 01:53:22 GMT
  7. Organization: Technische Universitaet Muenchen, Germany
  8. Distribution: world
  9. Message-ID: <4gj6mi$f9c@sunsystem5.informatik.tu-muenchen.de>
  10. References: <wJL6y*csa@aargh.incubus.sub.org> <2492.6623T185T733@mbox.vol.it>
  11. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Fabio Bizzetti (bizzetti@mbox.vol.it) wrote:
  15. : >In article <2125.6620T1404T1504@mbox.vol.it>, Fabio Bizzetti writes:
  16.  
  17. : >> be so nice to write an assembly, short as much as possible source to
  18. : >> intercept the Amiga-M/N keys
  19.  
  20. : >Why intercept?  Users hit them when they WANT to access other screens.
  21.  
  22. : Because when you press the Amiga-M keys the OS hits the hardware although you
  23. : made a LoadView(0). This changes the synch registers, in the best case.
  24. : Amiga-M/N keys have to be filtered if you want to make a demo/game that hits
  25.  
  26. well, you can't get back to demo-screen with another ami-M.
  27. But there will be no crash. 
  28.  
  29. SOLUTION
  30. If you're clever you open a dummy screen. ami-M will put the dummy screen
  31. to front. The top screen of intuition is in intuitionbase+$3c
  32. "firstscreen". compare it with the ptr you got opening the dummyscreen
  33. (320x16, 1 plane for example). If equal, do loadview(0) and 2 waitofs.
  34.  
  35. If you're very very clever, you cancel rendering as long as intbase+$3c
  36. is not equal to the your dummyscreen pointer (do waittof instead to
  37. give cpu over to system).
  38.  
  39. : the hardware (I challenge anyone to demonstrate that with the OS you can do
  40. : everything, you -cannot- make the great effects that you should ask Amiga
  41.  
  42. No you can't do everything. Especially when it comes up to copper fx.
  43. I see no way around copper takeover.
  44.  
  45. BUT:
  46. your mapper demos need no copper fx. i.e. a cool mapper demo also works
  47. on gfx-card.
  48. I'm really not one of those OS-only fanatics, but a demo that does
  49. paralell diskload and still works on HD, CD, 1571 :) just rulz!
  50.  
  51. : coders to make). Definitely, I agree to push the compatibility as far as
  52. : possible, but we cannot think with OS's C/C++ programmers mentality when we've
  53. : to make technically amazing DemoEffects/games.
  54. : This is sad maybe, but absolutely true.
  55.  
  56. the new demos, all doing chunky stuff, can be done OS-compatible.
  57.  
  58. I am willing to put helpstuff on my homepage. If you got any source
  59. doing OS-stuff, email me.
  60. Currently my homepage got blitterscreen v1.2 using QBlit, i.e. legal
  61. without shutdown.
  62.  
  63. : >> No shared libraries please.
  64.  
  65. : >Why not?
  66.  
  67. : I dont want to call 10 libraries to run 10 routines long 20-100 bytes each.
  68. : I dont know if you understand, but you'll hear this from many other coders.
  69. : Just accept it please, there're good reasons.
  70.  
  71. Well, imagine there was a cool demo.library. would make lots of demos
  72. shorter, i.e you could maybe put 10% more demos on HD ;)
  73.  
  74. : So, should we start this public collaboration?
  75. : I know that some of the people that wish for better compatibility for games/
  76. : demos in this newsgroup are OS's assembly programmers. If they want, they can
  77. : improve considerably compatibility of the demo/games written by the genial
  78. : "τ°╨µrz", as the "cathegory" has been sadly called.
  79. : Just write these simple routines/docs in a clear way that will push any coder
  80. : to use them.
  81.  
  82. yep. look at the way I used qblit :) It seems to have stil a bug
  83. when running other blitting tasks, but this is NO disadvantage
  84. vs blitter hardware banging ;)
  85.  
  86. well, my handler routines are not 100% clean, they assume large
  87. blits without checking for ECS :\ i.e. check for ECS when running
  88. my blitterscreen code ;)
  89.  
  90. - - - //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  91.      // A1201 HD260            fischerj@Informatik.TU-Muenchen.DE
  92.    \X/      ^--fastmem=2xSpeed      (Juergen "Rally" Fischer) =:)
  93.  
  94. BLITTERSCREEN sources: http://www.informatik.tu-muenchen.de/~fischerj/
  95. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  96.  
  97. : ciauzzzzzz
  98.  
  99. : ------------------------------------------------------------------------------
  100. : |                                                                            |
  101. : |           Stop that fucking imperialist embargo against Cuba.              |
  102. : |                 Hasta Siempre Comandante Che Guevara.                      |
  103. : |                                                                            |
  104. : |                                                                            |
  105. : |    Fabio "Maverick" Bizzetti - bizzetti@mbox.vol.it - Maverick* at IRC     |
  106. : |              The maker of "CyberMan" and "Virtual Karting"                 |
  107. : |   working on "Virtual Rally" and "StarFighter", the 3D game that will      |
  108. : |                        bring the Amiga to the top                          |
  109. hopefully it'll support gfx-cards for max showoff on zorro Amigas ;)
  110.  
  111. : |                                                                            |
  112. : ------------------------------------------------------------------------------
  113.  
  114.  
  115.